.nh
.TH "hugo" "1" "May 2023" "hugo source" "hugo Manual"

.SH NAME
.PP
hugo-completion-zsh - Generate the autocompletion script for zsh


.SH SYNOPSIS
.PP
\fBhugo completion zsh [flags]\fP


.SH DESCRIPTION
.PP
Generate the autocompletion script for the zsh shell.

.PP
If shell completion is not already enabled in your environment you will need
to enable it.  You can execute the following once:

.PP
.RS

.nf
echo "autoload -U compinit; compinit" >> ~/.zshrc

.fi
.RE

.PP
To load completions in your current shell session:

.PP
.RS

.nf
source <(hugo completion zsh)

.fi
.RE

.PP
To load completions for every new session, execute once:

.SS Linux:
.PP
.RS

.nf
hugo completion zsh > "${fpath[1]}/_hugo"

.fi
.RE

.SS macOS:
.PP
.RS

.nf
hugo completion zsh > $(brew --prefix)/share/zsh/site-functions/_hugo

.fi
.RE

.PP
You will need to start a new shell for this setup to take effect.


.SH OPTIONS
.PP
\fB-h\fP, \fB--help\fP[=false]
	help for zsh

.PP
\fB--no-descriptions\fP[=false]
	disable completion descriptions


.SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB--author\fP="YOUR NAME"
	Author name for copyright attribution

.PP
\fB-v\fP, \fB--verbose\fP[=false]
	verbose output


.SH SEE ALSO
.PP
\fBhugo-completion(1)\fP


.SH HISTORY
.PP
7-May-2023 Auto generated by spf13/cobra
